package edu.gatech.ealf.secretservantplaf;

import java.awt.Graphics;
import java.awt.Rectangle;

import javax.swing.JComponent;
import javax.swing.JTabbedPane;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.TabbedPaneUI;

public class SSTabbedPaneUI extends TabbedPaneUI {
	private static final String UI_CLASS_ID = "TabbedPaneUI";
	
	public SSTabbedPaneUI() {
        ;
    }

    public static ComponentUI createUI(JComponent c) {
        return new SSTabbedPaneUI();
    }

    @Override
    public void installUI(JComponent c) {
        
        SecretServantLookAndFeel.getInstance().registerComponentInstallation(UI_CLASS_ID, c);
    }


    @Override
    public void uninstallUI(JComponent c) {
    	
    	SecretServantLookAndFeel.getInstance().registerComponentUninstallation(UI_CLASS_ID, c);
    }

    @Override
    public void paint(Graphics g, JComponent c) {
    }
    
    @Override
    public void update(Graphics g, JComponent c) {
    }

	@Override
	public Rectangle getTabBounds(JTabbedPane arg0, int arg1) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getTabRunCount(JTabbedPane arg0) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int tabForCoordinate(JTabbedPane arg0, int arg1, int arg2) {
		// TODO Auto-generated method stub
		return 0;
	}
	
}
